package com.example.demo.entity.VO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

@Data
public class GoodsAddVO {
    @ApiModelProperty(value = "商品名称",required = true)
    private String goodsName;

    @ApiModelProperty(value = "商品库存",required = true)
    private Integer goodsInventory;

    @ApiModelProperty(value = "发货地址",required = true)
    private String goodsAddress;

    @ApiModelProperty(value = "生产日期",required = true)
    private LocalDate goodsTime;

    @ApiModelProperty(value = "保质日期",required = true)
    private LocalDate goodsOutTime;

    @ApiModelProperty(value = "重量",required = true)
    private Double goodsWeight;

    @ApiModelProperty(value = "商品详细",required = true)
    private String goodsInfo;

    @ApiModelProperty(value = "价格",required = true)
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "1 食品 2 用品 3 洗护",required = true)
    private Integer goodsTypeId;

    @ApiModelProperty("商品图片(传入:传入图片后返回的路径)")
    private List<String> goodsImg;
}
